package org.fly.contants;

/**
 * @author  fly
 */
public class ErrorConstant {

    public static final int ec_system_error = 999;
    public static final String em_system_error ="系统错误！";

    public static int code_login_no_user =1000;
    public static String msg_login_no_user ="用户不存在!";
    public static int code_login_password_error =1001;
    public static String msg_login_password_error ="密码错误!";

    public static final int ec_account_exist =10004;
    public static final String em_account_exist ="对应账号已经存在！";

    public static final int ec_param_error = 10005;
    public static final String em_param_no_product_id ="没有选定产品!";
    public static final String em_param_no_supplier_id ="没有选定供货商!";
    public static final String em_param_error_num ="数量错误";
    public static final String em_param_error_norm ="规格错误!";

    public static final String ec_param_customer_address_null = "收货地址为空!";
    public static final String ec_param_customer_telephone_null = "下单人联系电话为空";

    public static final int ec_business_error = 10006;
    public static final String em_business_cart_supplier_error ="供货商必须是一家！";

    public static final int ec_telephone_error  = 10008;
    public static final String em_telephone_error ="手机号错误";


    public static final int ec_sms_limit  = 10009;
    public static final String em_sms_limit ="短信发送过快";

    public static final int ec_verify_fail  = 10010;
    public static final String em_verify_fail ="验证码错误";

    public static final int ec_pk_error= 10011;
    public static final String em_pk_error ="存在对应配置";

    public static final int ec_enum_error = 10012;
    public static final String em_enum_error_order_status ="订单状态错误";
}
